package lyroot.entity;

/**
 * @BelongsProject : java-leetcode
 * @BelongsPackage : lyroot.entity
 * @Author :  cheungming
 * @CreateTime : 2024-04-30 08:29:34
 * @Description : 链表的结点
 * @Version : 1.0
 */
public class ListNode {

    public int val;

    public ListNode next;

    public ListNode(int x) {
        this.val = x;
        next = null;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }
}
